<tagLib name="html" />
<div id="main-content">
    <div id="main" class="main">
        <!-- 修改密码 start -->
        <div class="spin-cont">
            <div class="user-hd">
                <h2>系统管理>>网络申请>>{$page_title}</h2>
                <a class="kehu" href="javascript:history.back();">
                  返回
                </a>
            </div>
            <div class="user_zl">
                <dl class="clearfix">
                    <dt>申请时间：</dt>
                    <dd>{$info.ctime|date="Y-m-d H:i:s",###}</dd>
                </dl>
                <dl class="clearfix">
                    <dt>姓名：</dt>
                    <dd>{$info.username}</dd>
                </dl>
                <dl class="clearfix">
                    <dt>电话：</dt>
                    <dd>{$info.phone}</dd>
                </dl>
                <dl class="clearfix">
                    <dt>邮箱：</dt>
                    <dd>{$info.email}</dd>
                </dl>				
                <dl class="clearfix">
                    <dt>地址：</dt>
                    <dd>{$info.province}{$info.city}{$info.district}{$info.address}</dd>
                </dl>
                <dl class="clearfix">
                    <dt>备注：</dt>
                    <dd>{$info.remark}</dd>
                </dl>					
				<dl class="clearfix">
                    <dt></dt>
                    <dd>
                        <a href="javascript:;" class="gray-btn" onclick="checkIn()">处理</a>
                        <a href="javascript:history.back();" class="gray-btn" >取消</a>
                    </dd>
                </dl>				
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
function checkIn()
{
	$.ajax({
		url:"/Admin/Apply/updateAction",
		type:"post",
		data:{id:"{$info['id']}"},
		success:function(data,status,xhr){
				if (data.status==1) {
					alertMessage(data.info + ' 页面即将自动跳转~', 1, 2);
					if (data.url) {
						delayGoToPage(data.url, 2000);
					}
				}else{
					alertMessage(data.info, '', 2);
				}
		},
	});
}
</script>
